package cn.itcast.mobile_weather;

public class WeatherBean {

    /*
    {"address":"广东省 揭阳市 普宁市","cityCode":"445281","temp":"32℃","weather":"阴","windDirection":"西南","windPower":"5级","humidity":"55%","reportTime":"2022-06-06 14:30:21"}

     */
    private String address;
    private String cityCode;
    private String temp;
    private String weather;
    private String windDirection;
    private String windPower;
    private String humidity;
    private String reportTime;

    public WeatherBean() {
    }

    public WeatherBean(String address, String cityCode, String temp, String weather, String windDirection, String windPower, String humidity, String reportTime) {
        this.address = address;
        this.cityCode = cityCode;
        this.temp = temp;
        this.weather = weather;
        this.windDirection = windDirection;
        this.windPower = windPower;
        this.humidity = humidity;
        this.reportTime = reportTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    public String getWindDirection() {
        return windDirection;
    }

    public void setWindDirection(String windDirection) {
        this.windDirection = windDirection;
    }

    public String getWindPower() {
        return windPower;
    }

    public void setWindPower(String windPower) {
        this.windPower = windPower;
    }

    public String getHumidity() {
        return humidity;
    }

    public void setHumidity(String humidity) {
        this.humidity = humidity;
    }

    public String getReportTime() {
        return reportTime;
    }

    public void setReportTime(String reportTime) {
        this.reportTime = reportTime;
    }

    @Override
    public String toString() {
        return "WeatherBean{" +
                "address='" + address + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", temp='" + temp + '\'' +
                ", weather='" + weather + '\'' +
                ", windDirection='" + windDirection + '\'' +
                ", windPower='" + windPower + '\'' +
                ", humidity='" + humidity + '\'' +
                ", reportTime='" + reportTime + '\'' +
                '}';
    }
}
